VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Processing Namespace / ProcessingHelper Class / CreateTrigger Methods / CreateTrigger<TTarget>(String,Analyzer<TTarget,Boolean>,Boolean,TriggerSeverity) Method
Syntax Requirements SeeAlso
In This Topic
    CreateTrigger<TTarget>(String,Analyzer<TTarget,Boolean>,Boolean,TriggerSeverity) Method (ProcessingHelper)
    In This Topic
    Creates the trigger that is activated if specified predicate returns value that equals to the activation value.
    Syntax
    'Declaration
    
    Public Overloads Shared Function CreateTrigger<TTarget
    The type of the target.
    >( _
    ByVal name
    The name of trigger.
    As System.String, _
    ByVal predicate
    The predicate that activates trigger.
    As Vintasoft.Imaging.Processing.Analyzers.Analyzer(Of TTarget,TValue), _
    ByVal activationValue
    A value indicating whether to activate trigger by true or by false.
    As Boolean, _
    ByVal severity
    The severity of trigger.
    As TriggerSeverity _
    ) As Trigger(Of TTarget) (Of TTarget
    The type of the target.
    )

    Parameters

    name
    The name of trigger.
    predicate
    The predicate that activates trigger.
    activationValue
    A value indicating whether to activate trigger by true or by false.
    severity
    The severity of trigger.

    Type Parameters

    TTarget
    The type of the target.

    Return Value

    New instance of Trigger<TTarget> class.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also